$CertusFormAjax.ajax("findApliNode",{"processId":processId},function (response) {
    var data = response.data;
    var appList = data.appMap;
    var sList = data.sMap;
    var eList = data.eMap;
    var html="";
    var dlength = appList.length;
    for(var i=0;i<dlength;i++){
        html+="<li><span>"+appList[i].createUser+"</span><span>"+appList[i].createTime+"</span>";
        if (appList[i].nodeFlag==1){
            html+="<span>发起申请</span>";
        }else if (appList[i].nodeFlag == 3){
            html+="<span>退回</span>";
        }else if (appList[i].nodeFlag == 4){
            html+="<span>同意申请</span>";
        }else if (appList[i].nodeFlag == 5) {
            html+="<span>取消申请</span>";
        }else if (appList[i].nodeFlag == 8) {
            html+="<span>提交出差结果</span>";
        }else if (appList[i].nodeFlag == 10) {
            html+="<span>审批通过</span>";
        }else{
            html+="<span>出差汇总</span>";
        }
        html+="</li>";

        if (appList[i].nodeFlag==1){
            //拼接子流程项目审批的信息
            for (var j=0;j<sList.length;j++){
                html+="<li><span>"+sList[j].createUser+"</span><span>"+sList[j].createTime+"</span>";
                if (sList[j].nodeFlag==1){
                    html+="<span>发起子流程-项目确认出差/公干需求申请</span>";
                }else if (sList[j].nodeFlag==2){
                    html+="<span>拒绝，审批意见："+sList[j].opinionMsg+"</span>";
                }else if (sList[j].nodeFlag == 3){
                    html+="<span>退回，审批意见："+sList[j].opinionMsg+"</span>";
                }else if (sList[j].nodeFlag==4){
                    html+="<span>"+sList[j].proName+"申请通过，审批意见："+sList[j].opinionMsg+"</span>";
                }else if (sList[j].nodeFlag==5){
                    html+="<span>取消申请</span>";
                }else if (sList[j].nodeFlag==6){
                    html+="<span>提交"+sList[j].proName+"出差结果</span>";
                }else if (sList[j].nodeFlag==0){
                    html+="<span>同意，审批意见："+sList[j].opinionMsg+"</span>";
                }else{
                    html+="<span>"+sList[j].proName+"出差结果审批通过</span>";
                }
                html+="</li>";
            }
        }

        ;
        if (appList[i].nodeFlag==8){
            //拼接子流程项目审批的信息
            for (var j=0;j<eList.length;j++){
                html+="<li><span>"+eList[j].createUser+"</span><span>"+eList[j].createTime+"</span>";
                if (eList[j].nodeFlag==1){
                    html+="<span>发起申请</span>";
                }else if (eList[j].nodeFlag==2){
                    html+="<span>拒绝，审批意见："+eList[j].opinionMsg+"</span>";
                }else if (eList[j].nodeFlag == 3){
                    html+="<span>退回，审批意见："+eList[j].opinionMsg+"</span>";
                }else if (eList[j].nodeFlag==4){
                    html+="<span>"+eList[j].proName+"申请通过，审批意见："+eList[j].opinionMsg+"</span>";
                }else if (eList[j].nodeFlag==5){
                    html+="<span>取消申请</span>";
                }else if (eList[j].nodeFlag==6){
                    html+="<span>提交"+eList[j].proName+"出差结果</span>";
                }else if (eList[j].nodeFlag==0){
                    html+="<span>同意，审批意见："+eList[j].opinionMsg+"</span>";
                }else{
                    html+="<span>"+eList[j].proName+"审批通过</span>";
                }
                html+="</li>";
            }
        }
    }
    $("#containerUl").append(html);
});